package org.kd.ssh.service;

import org.kd.ssh.dao.UserDao;
import org.kd.ssh.domain.UserInfo;

public class UserService {

	private UserDao userDao;

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	public UserInfo login(UserInfo userInfo) {
		UserInfo user = new UserInfo();
		user = userDao.login(userInfo);
		return user;
	}
}
